import request from '@/utils/request'


export function addSystem(data) {
    return request({
        url: '/jobAid/manage',
        method: 'post',
        data: data
    })
}

export function updateSystem(data) {
    return request({
        url: '/jobAid/manage',
        method: 'put',
        data: data
    })
}

export function list(query) {
    return request({
        url: '/jobAid/manage/list',
        method: 'get',
        params: query
    })
}

export function getInfo(sid) {
    return request({
        url: '/jobAid/manage/'+sid,
        method: 'get',
    })
}

export function delSyatem(dictId) {
    return request({
        url: '/jobAid/manage/' + dictId,
        method: 'delete'
    })
}
